package com.plian.system.vo.pf;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.plian.system.entity.pf.BaseAssessScore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @Author: Take-off
 * @Description: TODO
 * @Date: 2023/1/29 6:46 PM
 * @Version: 1.0
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "BaseAssessScoreVO 对象", description = "考核处评分 -VO")
public class BaseAssessScoreVO extends BaseAssessScore {

    @ApiModelProperty(value = "考核对象单位-name")
    private String fillingUnitName;

    private String createUserName;

    @ApiModelProperty(value = "评分主体-name")
    private String officeName;

    @ApiModelProperty(value = "考核评分办法")
    private List<ScoreMethodVO> scoreMethodVOS;

    @ApiModelProperty(value = "鉴证表Id")
    private String tableId;

    @ApiModelProperty(value = "投资Id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long investmentId;

    @ApiModelProperty(value = "是否所有处室都填写完成")
    private Boolean flag;
}
